play along willingly

Translations
охотно подыгрывать
He played along willingly to keep the peace.
Он охотно подыгрывал, чтобы сохранить мир.